package controller

type Ctrler interface {
	CtrlInfo() string
	RoutInit()
}

var _ctrlList []Ctrler

func ModuleCtrlRetist(vc Ctrler) {
	if _ctrlList == nil {
		_ctrlList = make([]Ctrler, 0)
	}
	_ctrlList = append(_ctrlList, vc)
}

func GetRegistCtrls() []Ctrler {
	return _ctrlList
}
